﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MiniFox.Infrastructure
{
    /// <summary>
    /// 
    /// </summary>
    public interface ITreeNode
    {
        /// <summary>
        /// 
        /// </summary>
        object ID
        {
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        int Ordinal
        {
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        int Level
        {
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        IEnumerable<ITreeNode> Children
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        object Data
        {
            get;
        }
    }
}
